package me.joshua.demo4j.spring.groovy.dynamic.rule;

import me.joshua.demo4j.spring.groovy.dynamic.model.Member
import me.joshua.demo4j.spring.groovy.dynamic.service.MemberService
import me.joshua.demo4j.spring.groovy.dynamic.service.RuleService

import org.springframework.beans.factory.annotation.Autowired

class MemberRule implements RuleService {

	@Autowired
	private MemberService memberService

	public void run(String param) {
		Member member = memberService.findMember(param);
		System.out.println(member);
		System.out.println(member.toString()+"1111111");
	}
}
